//²MªÅ«K·í³U include_once('Bag.inc'); session_start(); $_SESSION['bag']->delete_all(); //delete_all() function delete_all(){ $this->lunchbox_number = array(); $this->lunchbox_name = array(); $this->single_cost = array(); $this->quantity = array(); $this->price = array(); $this->total_cost = 0; }